package com.mijie.homi.dao.commom;

import org.springframework.stereotype.Repository;

import com.mijie.core.IBatisDao;

@Repository
public class StatDao extends IBatisDao{

	public int incrActive(int channel){
		return this.insert("incrActive",channel);
	}
	
	public int incrPrepareSignin(int channel){
		return this.insert("incrPrepareSignin",channel);
	}
	
	public int incrFinishSignin(int channel){
		return this.insert("incrFinishSignin",channel);
	}
	
	public int incrPrepareSignupByNormal(int channel){
		return this.insert("incrPrepareSignupByNormal",channel);
	}
	
	public int incrPrepareSignupUsingSinaWeibo(int channel){
		return this.insert("incrPrepareSignupUsingSinaWeibo",channel);
	}
	
	public int incrPrepareSignupUsingQQWeibo(int channel){
		return this.insert("incrPrepareSignupUsingQQWeibo",channel);
	}
	
	public int incrFinishSignupByNormal(int channel){
		return this.insert("incrFinishSignupByNormal",channel);
	}
	
	public int decrFinishSignupByNormal(int channel){
		return this.update("decrFinishSignupByNormal",channel);
	}
	
	public int incrFinishSignupUsingSinaWeibo(int channel){
		return this.insert("incrFinishSignupUsingSinaWeibo",channel);
	}
	
	public int decrFinishSignupUsingSinaWeibo(int channel){
		return this.update("decrFinishSignupUsingSinaWeibo",channel);
	}
	
	public int incrFinishSignupUsingQQWeibo(int channel){
		return this.insert("incrFinishSignupUsingQQWeibo",channel);
	}
	
	public int decrFinishSignupUsingQQWeibo(int channel){
		return this.update("decrFinishSignupUsingQQWeibo",channel);
	}
}
